package com.ny.service;
import com.ny.entity.Order;
import com.ny.entity.Product;
import java.sql.SQLException;
import java.util.List;

public interface ProductService {
    List<Product> findAllProduct()throws SQLException;


    int insertProduct(Product product);

    Product getProductById(int id);

    int updateProduct(Product product);

    int deleteProduct(int id);
}
